from django.conf.urls.defaults import *




from django.contrib import databrowse
from hdiary.injections.models import *
from hdiary.preventions.models import *
from hdiary.injuries.models import *
from hdiary.ampoules.models import *
from django.contrib.auth.models import User

databrowse.site.register(Reception)
databrowse.site.register(AmpouleSeries)
databrowse.site.register(Injection)
databrowse.site.register(Injury)
databrowse.site.register(User)
databrowse.site.register(InjuryType)
databrowse.site.register(InjuryArea)

urlpatterns = patterns('',
    # Example:
    # (r'^inject/', include('inject.foo.urls')),

    # Uncomment this for admin:
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^injections/$', 'hdiary.injection.views.index'),
    (r'^databrowse/(.*)', databrowse.site.root),
)
